# -arch i386 compiler flag for sow leopard, mac, eclipse 
CXXFLAGS = -Wall -g -arch i386

OBJECTS = BestBFS.o EdgeMap.o Node.o PASTAflip.o 

all: default

default:	main

main:	main.o $(OBJECTS)
	$(CXX) $(CXXFLAGS) -o $@ $^

clean:
	rm -f main main.o $(OBJECTS) *~

BestBFS.o: BestBFS.cpp BestBFS.h 
EdgeMap.o: EdgeMap.cpp EdgeMap.h 
Node.o: Node.cpp Node.h 
PASTAflip.o: PASTAflip.cpp PASTAflip.h 
main.o: main.cpp PASTAflip.h   
